tools/xentop : replace use of deprecated vwprintw
authorChristopher Clark <christopher.w.clark@gmail.com>
Wed, 18 Jul 2018 22:22:17 +0000 (15:22 -0700)
committerHans van Kranenburg <hans@knorrie.org>
Mon, 13 May 2019 19:54:56 +0000 (21:54 +0200)
commit503ab9cc356441472b6946f1ee10b0df1584b33d
tree2565e20dfcb35d36e143ec2b2e5642ad446590dd
parentb10e2dd82ffaf7340127374bf46a7a9a76e46424
tools/xentop : replace use of deprecated vwprintw

gcc-8.1 complains:

| xentop.c: In function 'print':
| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
|     vwprintw(stdscr, (curses_str_t)fmt, args);
|     ^~~~~~~~

vw_printw (note the underscore) is a non-deprecated alternative.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Gbp-Pq: Topic misc
Gbp-Pq: Name tools-xentop-replace-use-of-deprecated-vwprintw.patch
tools/xenstat/xentop/xentop.c